/*
 * ClientClass.h
 *
 *  Created on: 2011-8-10
 *      Author: hywie
 */

#ifndef CLIENTCLASS_H_
#define CLIENTCLASS_H_

#include "DBClass.h"

class ClientClass {
public:
	ClientClass();
	explicit ClientClass(int, DBClass *);	//重载ClientClass的构造函数
	virtual ~ClientClass();
	int getSock_fd();			//返回当前用以通信的套接字
	DBClass *getDBClass();	//返回共有的DBClass这一对象

private:
	int m_fd;			//通信套接字
	DBClass *m_db;		//共有DBClass对象
};

#endif /* CLIENTCLASS_H_ */
